Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 17 - File Objects / File Objects Reference
File Objects Routines / Setting Idle Methods


Q3File_SetIdleMethod

You can use the Q3File_SetIdleMethod function to set a file object's idle method.

TQ3Status Q3File_SetIdleMethod (
TQ3FileObject file, 
TQ3FileIdleMethod idle, 
const void *idleData);
file
A file object.
idle
A pointer to an idle method. See page 17-69 for information on idle methods.
idlerData
A pointer to an application-defined block of data. This pointer is passed to the idler callback routine when it is executed.
DESCRIPTION
The Q3File_SetIdleMethod function sets the idle method of the file object specified by the file parameter to the function specified by the idle parameter. The idlerData parameter is passed to your idle method whenever it is executed.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996